package com.igogogo.aop;

import com.igogogo.constant.AuthEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author: Mr.Chen
 * @Date: 2018/7/1 22:26
 */

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Auth {

    AuthEnum value() default AuthEnum.NOAUTH;
}
